package cool.mtc.minghe.data.model.sys.user.dto;

import cool.mtc.web.annotation.dict.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 明河
 */
@Schema(description = "详细信息")
@Data
public class UserDTO {

    private Long userId;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "手机号码")
    private String mobile;

    @Schema(description = "邮箱")
    private String email;

    @Dict
    @Schema(description = "用户状态")
    private Long statusDictId;

    @Schema(description = "用户单位信息")
    private List<UserOrgRoleDTO> userOrgList = new ArrayList<>();
}
